//
//  Q2CollectionViewCell.m
//  RedManStock
//
//  Created by lanou3g on 15/7/25.
//  Copyright (c) 2015年 lanou3g. All rights reserved.
//

#import "Q2CollectionViewCell.h"

@implementation Q2CollectionViewCell

- (void)awakeFromNib {
    // Initialization code
}

-(void)setHotConcepts:(HotConcepts *)hotConcepts{
   
    if (_hotConcepts != hotConcepts) {
        
        _hotConcepts = hotConcepts;
    }
    self.nameLabel.text = hotConcepts.name;
    self.updownRateLabel.text = hotConcepts.updownRateSB;
    self.topStockLabel.text = hotConcepts.topStock;
    self.stockNowPriceLabl.text = hotConcepts.stockNowPriceSB;
    self.stockNowUpdownRateLabel.text = hotConcepts.stockUpdownRateSB;

    
    
    
    
    
}

-(void)setHotIndustries:(HotIndustries *)hotIndustries{
    
    if (_hotIndustries != hotIndustries) {
        _hotIndustries = hotIndustries;
    }
    
    self.nameLabel.text = hotIndustries.name;
    self.updownRateLabel.text = hotIndustries.updownRateSB;
    self.topStockLabel.text = hotIndustries.topStock;
    self.stockNowPriceLabl.text = hotIndustries.stockNowPriceSB;
    self.stockNowUpdownRateLabel.text = hotIndustries.stockUpdownRateSB;
    
    
}



@end
